menuitem: share code between HFW and non-HFW height requests
authorCosimo Cecchi <cosimoc@gnome.org>
Thu, 15 Dec 2011 17:42:27 +0000 (18:42 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Thu, 15 Dec 2011 17:52:30 +0000 (18:52 +0100)
commit05e62e02510685ecf223c3ee384083448bd8268d
tree3d2e22cb48732276a50b454c2fb10e14eb836c6d
parent4d76b10ce5ff782fedc3e77e4a43a91415f00562
menuitem: share code between HFW and non-HFW height requests

The code is very similar; having two slightly different code paths is
bad and can lead to bugs. Refactor the code to use the same height
request function.
gtk/gtkmenuitem.c